
// 保存token 
export function setLocal(value,key='token') {
    window.localStorage.setItem(key,value)
}


// 获取
export function getLocal(key='token') {
    return window.localStorage.getItem(key)
}

// 删除
export function removeLocal(key="token") {
    window.localStorage.removeItem(key)
}